package cn.ffcs.uec.staff.manager.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.outStaff.model.UecOutStaffInfo;
import cn.ffcs.uec.outStaff.vo.UecOutStaffInfomationVo;
import cn.ffcs.uec.staff.dao.UecDocEduDao;
import cn.ffcs.uec.staff.manager.UecDocEduManager;
import cn.ffcs.uec.staff.model.UecDocEdu;
import cn.ffcs.uec.staffAndOutStaff.vo.StaffAndOutStaff;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecDocEduManager")
@Scope("prototype")
public class UecDocEduManagerImpl implements UecDocEduManager {

	@Resource
	private UecDocEduDao uecDocEduDao;

	@Override
	public PageInfo queryPageInfoByUecDocEdu(UecDocEdu uecDocEdu, int current,
			int pageSize) {
		return uecDocEduDao.queryPageInfoByUecDocEdu(uecDocEdu, current, pageSize);
	}

	@Override
	public UecDocEdu findUecDocEdu(UecDocEdu uecDocEdu) {
		return uecDocEduDao.findUecDocEdu(uecDocEdu);
	}

	@Override
	public PageInfo queryPageInfoByUecDocEduOnApproval(UecDocEdu uecDocEdu,
			int current, int pageSize) {
		return uecDocEduDao.queryPageInfoByUecDocEduOnApproval(uecDocEdu, current, pageSize);
	}

	@Override
	public UecDocEdu getUecDocEduByUecOutStaffInfo(
			UecOutStaffInfo uecOutStaffInfo) {
		return uecDocEduDao.getUecDocEduByUecOutStaffInfo(uecOutStaffInfo);
	}

	@Override
	public List<UecDocEdu> getUecDocEduByUecOutStaffId(UecOutStaffInfo uecOutStaffInfo) {
		
		return uecDocEduDao.getUecDocEduByUecOutStaffId(uecOutStaffInfo);
	}

	@Override
	public List<UecDocEdu> getUecDocEduByUecOutAndStaffId(UecOutStaffInfomationVo uecOutStaffInfomationVo) {
		// TODO Auto-generated method stub
		return uecDocEduDao.getUecDocEduByUecOutAndStaffId(uecOutStaffInfomationVo);
	}

	@Override
	public List<UecDocEdu> findUecDocEduByPkPsndoc(StaffAndOutStaff staffAndOutStaff) {
		// TODO Auto-generated method stub
		return uecDocEduDao.findUecDocEduByPkPsndoc(staffAndOutStaff);
	}

}
